package com.aqsare;

import nl.chess.it.util.config.Config;



public class SimpleConfig extends Config {
    /**
     * Name of the file we are looking for to read the configuration.
     */
    public static final String RESOURCE_NAME = "my.properties";

    /**
     * Creates a new SimpleConfig object.
     */
    public SimpleConfig(String resourceName) {
        super(resourceName);
    }

    
    public String getCurrency() {
        return getString("property.currency");
    }

    public String getPath() {
        return getString("property.path");
    }
    public String getPathOut() {
        return getString("property.pathout");
    }
    public String getPathCsv() {
        return getString("property.pathcsv");
    }
    public String[] getPeriod() {
        return  getStringArrayFromCommaString("property.period");
    }

    public int getSMA2() {
        return getInt("property.sma2");
    }
    public int getSMA1() {
        return getInt("property.sma1");
    }
    
    public int getComparePoints() {
        return getInt("pattern.comparepoints");
    }
    
    public int getZeroPoints() {
        return getInt("pattern.zeropoints");
    }
    public int getNowPoints() {
        return getInt("pattern.nowpoints");
    }
    public int getShiftCompare() {
        return getInt("pattern.shift");
    }
   
    public int getSLPoints() {
        return getInt("test.sl");
    }
}